package com.victor.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import com.victor.entity.TravelReply;
@Mapper
public interface TravelReplyDao {
    int deleteByPrimaryKey(Integer rid);
    /**
     * 添加回复
     * @param record
     * @return
     */
    boolean insertSelective(TravelReply record);
    /**
     * 根据pid查询
     * @param pid
     * @return
     */
    List<TravelReply> selectByPrimaryKey(String pid);

    int updateByPrimaryKeySelective(TravelReply record);

}